package eteam.aps.common;

import java.util.List;

public class QueryResult<T> extends QueryFilter {
    private int recordsTotal;
    private List<T> data;

    public QueryResult() {
    }

    public QueryResult(int total, List<T> data) {
        this.recordsTotal = total;
        this.data = data;
    }

    public int getRecordsTotal() {
        return recordsTotal;
    }

    public void setRecordsTotal(int recordsTotal) {
        this.recordsTotal = recordsTotal;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
